package study.read;

import java.awt.Graphics2D;
import java.awt.Rectangle;

import org.fit.cssbox.layout.Box;
import org.fit.cssbox.layout.VisualContext;
import org.w3c.dom.Node;

/**
 * 
 * @author Wxg
 *
 */
public class CssBox101 extends Box{
	
	public static void main(String[] args) {
		
	}
	
	/**
	 * @see org.fit.cssbox.layout.Box
	 * -	* read date: 2018年2月7日
	 * -	* method doLayout() : 
	 * -	* 	force Use the area even if the used width is greater than maxwidth
	 * -	* 	强制使用该区域，即使使用的宽度大于最大宽度
	 * 
	 * @see org.fit.cssbox.layout.TextBox
	 * -	* date: 2018年2月7日
	 * -	* doLayout
	 * 
	 * {@link cssbox.my.OneUrlBrowser#study101()}
	 * -	* date: 2018年2月8日
	 * -	* 以上记录了一些新发现
	 * 
	 */
	public static void code101(){}

	/**
	 * org.w3c.dom;
	 */
	public static void code102(){}
	
	/**
	 * 
	 * 以下是一些值得关注的类
	 * 
BrowserCanvas
-	* createLayout
-	* BoxFactory factory = new BoxFactory(decoder, baseurl);
BoxFactory
-	* createViewportTree
-		* createSubtree
-	* createBoxTree
-		* NodeList children = stat.parent.getElement().getChildNodes();
-		* loop
-		* createSubtree
-		* stat.parent.nextTwin : twin(成双的)
-	* createSubtree
-		* addToTree(newbox, stat);
-		* createElementBox
-		* createBoxTree
-	* createBox
-		* createElementInstance
-	* addToTree
-	* createTextBox
-	* normalizeBox
BlockBox
-	* loadBlockStyle
	 * 
	 */
	public static void code103(){}
	
	public CssBox101(Node n, Graphics2D g, VisualContext ctx){
		super(n,g,ctx);
	}
	
	@Override
	public String getText() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean isWhitespace() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean collapsesSpaces() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean preservesLineBreaks() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean allowsWrapping() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean canSplitInside() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean canSplitBefore() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean canSplitAfter() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean startsWithWhitespace() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean endsWithWhitespace() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void setIgnoreInitialWhitespace(boolean b) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int totalWidth() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int totalHeight() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getAvailableContentWidth() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getContentX() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getAbsoluteContentX() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getContentY() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getAbsoluteContentY() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getContentWidth() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getContentHeight() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getMinimalWidth() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getMaximalWidth() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Rectangle getMinimalAbsoluteBounds() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean isInFlow() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean hasFixedWidth() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean hasFixedHeight() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean containsFlow() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean affectsDisplay() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean doLayout(int availw, boolean force, boolean linestart) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void absolutePositions() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void draw(DrawStage turn) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void drawExtent(Graphics2D g) {
		// TODO Auto-generated method stub
		
	}
}
